package com.jinbiao.quasar.model;

import lombok.Data;
import org.sagacity.sqltoy.config.annotation.Column;
import org.sagacity.sqltoy.config.annotation.Entity;

import java.sql.Types;

@Data
@Entity(tableName = "sys_role")
public class SysRole extends BaseModel{
    @Column(name = "role_code", type = Types.VARCHAR)
    private String roleCode;
    @Column(name = "role_name", type = Types.VARCHAR)
    private String roleName;
    @Column(name = "dept_data_permission_type", type = Types.VARCHAR)
    private String deptDataPermissionType;
    @Column(name = "dept_data_permission_custom", type = Types.VARCHAR)
    private String deptDataPermissionCustom;
    @Column(name = "default_page", type = Types.VARCHAR)
    private String defaultPage;
}
